(component
  (type (;0;)
    (component
      (type (;0;)
        (instance
          (type (;0;) (flags "b0"))
          (export (;1;) "flag1" (type (eq 0)))
          (type (;2;) (flags "b0" "b1"))
          (export (;3;) "flag2" (type (eq 2)))
          (type (;4;) (flags "b0" "b1" "b2" "b3"))
          (export (;5;) "flag4" (type (eq 4)))
          (type (;6;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7"))
          (export (;7;) "flag8" (type (eq 6)))
          (type (;8;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "b11" "b12" "b13" "b14" "b15"))
          (export (;9;) "flag16" (type (eq 8)))
          (type (;10;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "b11" "b12" "b13" "b14" "b15" "b16" "b17" "b18" "b19" "b20" "b21" "b22" "b23" "b24" "b25" "b26" "b27" "b28" "b29" "b30" "b31"))
          (export (;11;) "flag32" (type (eq 10)))
          (type (;12;) (func (param "x" 1) (result 1)))
          (export (;0;) "roundtrip-flag1" (func (type 12)))
          (type (;13;) (func (param "x" 3) (result 3)))
          (export (;1;) "roundtrip-flag2" (func (type 13)))
          (type (;14;) (func (param "x" 5) (result 5)))
          (export (;2;) "roundtrip-flag4" (func (type 14)))
          (type (;15;) (func (param "x" 7) (result 7)))
          (export (;3;) "roundtrip-flag8" (func (type 15)))
          (type (;16;) (func (param "x" 9) (result 9)))
          (export (;4;) "roundtrip-flag16" (func (type 16)))
          (type (;17;) (func (param "x" 11) (result 11)))
          (export (;5;) "roundtrip-flag32" (func (type 17)))
        )
      )
      (export (;0;) "foo:flags/imports" (instance (type 0)))
    )
  )
  (export (;1;) "imports" (type 0))
  (type (;2;)
    (component
      (type (;0;)
        (component
          (type (;0;)
            (instance
              (type (;0;) (flags "b0"))
              (export (;1;) "flag1" (type (eq 0)))
              (type (;2;) (flags "b0" "b1"))
              (export (;3;) "flag2" (type (eq 2)))
              (type (;4;) (flags "b0" "b1" "b2" "b3"))
              (export (;5;) "flag4" (type (eq 4)))
              (type (;6;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7"))
              (export (;7;) "flag8" (type (eq 6)))
              (type (;8;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "b11" "b12" "b13" "b14" "b15"))
              (export (;9;) "flag16" (type (eq 8)))
              (type (;10;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "b11" "b12" "b13" "b14" "b15" "b16" "b17" "b18" "b19" "b20" "b21" "b22" "b23" "b24" "b25" "b26" "b27" "b28" "b29" "b30" "b31"))
              (export (;11;) "flag32" (type (eq 10)))
              (type (;12;) (func (param "x" 1) (result 1)))
              (export (;0;) "roundtrip-flag1" (func (type 12)))
              (type (;13;) (func (param "x" 3) (result 3)))
              (export (;1;) "roundtrip-flag2" (func (type 13)))
              (type (;14;) (func (param "x" 5) (result 5)))
              (export (;2;) "roundtrip-flag4" (func (type 14)))
              (type (;15;) (func (param "x" 7) (result 7)))
              (export (;3;) "roundtrip-flag8" (func (type 15)))
              (type (;16;) (func (param "x" 9) (result 9)))
              (export (;4;) "roundtrip-flag16" (func (type 16)))
              (type (;17;) (func (param "x" 11) (result 11)))
              (export (;5;) "roundtrip-flag32" (func (type 17)))
            )
          )
          (import "foo:flags/imports" (instance (;0;) (type 0)))
        )
      )
      (export (;0;) "foo:flags/flags-world" (component (type 0)))
    )
  )
  (export (;3;) "flags-world" (type 2))
  (@custom "package-docs" "\01{}")
  (@producers
    (processed-by "wit-component" "$CARGO_PKG_VERSION")
  )
)
